package com.whut.transportation.utils;

/**
 * ============================================================
 * 描述 ：
 * 
 * 常量类，封装请求Url 修订历史 ：
 * 
 * ============================================================
 **/
public class Constant {
	public final static int SUCCESS = 1;
	public final static int NET_FAILED = 2;
	//基础路径  本机访问服务器
	public final static String BASE_URL_1 = "http://59.69.75.86:8080/";
	//public final static String BASE_URL_1 = "http://10.0.2.2:8080/";
	//public final static String BASE_URL_1 = "http://10.1.112.173:8080/";
	//public final static String BASE_URL_1 = "http://192.168.43.4:8080/";
	//public final static String BASE_URL_1 = "http://10.141.87.206:8080/";
	
	public final static String PIC_UPLOAD_BASE = "";
	//登陆路径
	public final static String LOGIN = BASE_URL_1
			+ "TransportationWeb/common/userAction_login.action";
	//查询当天装车信息
	public final static String ALL_TRANPORTATION_INFO = BASE_URL_1
			+ "TransportationWeb/common/transportInfoAction_findAllTransportInfos.action";
	//查询当天卸车信息
	public final static String ALL_SCK_TRANPORTATION_INFO = BASE_URL_1
			+ "TransportationWeb/common/transportInfoAction_findAllSckTransportInfos.action";
	
	//向任务信息中添加数据
	public final static String INSERT_TASK_INFO = BASE_URL_1
			+ "TransportationWeb/common/taskInfoAction_insertTaskInfo.action";
	//查找一条任务信息
	public final static String Find_TASK_INFO = BASE_URL_1
			+ "TransportationWeb/common/taskInfoAction_findTaskInfo.action";
	//查找一条任务信息
	public final static String Find_TASK_SCK_INFO = BASE_URL_1
			+ "TransportationWeb/common/taskInfoAction_findSckTaskInfo.action";
	//更新一条任务信息
	public final static String UPDATE_TASK_INFO = BASE_URL_1
			+ "TransportationWeb/common/taskInfoAction_updateTaskInfo.action";
	public final static String UPDATE_TASK_SCK_INFO = BASE_URL_1
			+ "TransportationWeb/common/taskInfoAction_updateSckTaskInfo.action";
	//更新用户密码
	public final static String UPDATE_PASSWORD = BASE_URL_1
			+ "TransportationWeb/common/userAction_updatePassword.action";
	//查找用户信息
	public final static String FIND_USER_INFO = BASE_URL_1
			+ "TransportationWeb/common/userAction_findUserInfo.action";
	//查找所有的车辆信息
	public final static String FIND_ALL_TRAIN_INFO = BASE_URL_1
			+ "TransportationWeb/common/trainInfoAction_findAllTrainInfo.action";
	//查找所有的超重车辆信息
		public final static String FIND_ALL_WEIGH_INFO = BASE_URL_1
				+ "TransportationWeb/common/weighInfoAction_findAllWeighInfo.action";
	//根据条件查找运输信息
	public final static String FIND_SEARCH_TRANSPORTION_INFO = BASE_URL_1
			+ "TransportationWeb/common/transportInfoAction_search.action";
	//查找所有的待处理的超重信息
	public final static String ALL_OVERWEIGH_INFO = BASE_URL_1
			+ "TransportationWeb/common/weighInfoAction_findAllWeighInfo.action";
	//根据条件查找运输信息
	public final static String FIND_SEARCH_WEIGN_INFO = BASE_URL_1
			+ "TransportationWeb/common/weighInfoAction_findAllWeighInfos.action";
	//插入超重处理信息
	public final static String SAVE_WEIGHDEALING_INFO = BASE_URL_1
			+"TransportationWeb/common/weighDealingInfoAction_savaWeighDealingInfo.action";
	//批量插入超重处理信息
	public final static String M_SAVE_WEIGHDEALING_INFO = BASE_URL_1
				+"TransportationWeb/common/weighDealingInfoAction_msaveWeighDealingInfo.action";
	//查找超重处理信息
	public final static String FIND_WEIGHDEALING_INFO = BASE_URL_1
			+"TransportationWeb/common/weighDealingInfoAction_findWeighDealingInfo.action";
	//查找一辆车的信息
	public final static String FIND_ONE_TRAIN_INFO = BASE_URL_1
			+ "TransportationWeb/common/trainInfoAction_findOneTrain.action";
	//查找一辆超重车的信息
		public final static String FIND_ONE_WEIGH_INFO = BASE_URL_1
				+ "TransportationWeb/common/weighInfoAction_findWeighInfo.action";
	//插入列车检查信息
	public final static String INSERT_TRAIN_CHECK_INFO = BASE_URL_1
			+ "TransportationWeb/common/trainCheckInfoAction_insertTrainCheckInfo.action";
	//插入列车检查第二次信息
	public final static String INSERT_TRAIN_CHECK_SECFOND_INFO = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_insertJianChaInfo.action";
	//更新列车检查信息
	public final static String UPDATE_TRAIN_CHECK_INFO = BASE_URL_1
			+ "TransportationWeb/common/trainCheckInfoAction_updateTrainCheckInfo.action";
	//更新列车检查第二次信息
	public final static String UPDATE_TRAIN_CHECK_SECOND_INFO = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_updateJianChaInfo.action";
	//
	public final static String FIND_ONE_TRAIN_CHECK_INFO = BASE_URL_1
			+ "TransportationWeb/common/trainCheckInfoAction_findTrainCheckInfo.action";
	public final static String FIND_ONE_TRAIN_CHECK_SECOND_INFO = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_findJianChaInfo.action";
	//
	public final static String FIND_REASON_ENTRUCK = BASE_URL_1
			+ "TransportationWeb/common/reasonAction_findReasonEntruck.action";
	//
	public final static String FIND_REASON_UNLOAD = BASE_URL_1
			+ "TransportationWeb/common/reasonAction_findReasonUnload.action";
	//
	public final static String FIND_REASON = BASE_URL_1
			+ "TransportationWeb/common/reasonAction_findReasonEntruck.action";
	//货运员上传图片
	public final static String UPLOAD_PHONE = BASE_URL_1
			+ "TransportationWeb/common/fileUploadAction_uploadFirst.action";
	//货运员上传图片
	public final static String UPLOAD_PHONE_SECOND = BASE_URL_1
			+ "TransportationWeb/common/fileUploadAction_uploadSecond.action";
	//超重处理上传照片
	public final static String OW_UPLOAD_PHONE = BASE_URL_1
			+ "TransportationWeb/common/oWFileUploadAction_upload.action";
	//货运员更改运输状态
	public final static String UPDATE_JIANCHA_SECOND_INFO = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_updateSecondJiancha.action";
	
	public final static String UPDATE_TRANSPORTION_INFO_BY_FLAG = BASE_URL_1
			+ "TransportationWeb/common/transportInfoAction_updateTransportInfoByFlag.action";
	//查询装车股道信息
	public final static String FIND_TRACK_ALL_BY_STATION = BASE_URL_1
			+ "TransportationWeb/common/trackAction_findTrackAllByStation.action";
	//查询当天卸车股道信息
	public final static String FIND_SCK_TRACK_ALL_BY_STATION = BASE_URL_1
				+ "TransportationWeb/common/trackAction_findSckTrackAllByStation.action";
	
	//查询当天卸车股道信息
	public final static String FIND_OW_TRACK_ALL_BY_STATION = BASE_URL_1
					+ "TransportationWeb/common/weighInfoAction_findGdh.action";
		
	public final static String INSERT_REASON_CHECK_TRAIN = BASE_URL_1
			+ "TransportationWeb/common/reasonCheckTrainAction_insertReasonCheckTrain.action";
	//第一次更新检查表
	public final static String M_UPDATE_OR_SAVE = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_mUpdateOrSave.action";
	
	public final static String BAODIAN = BASE_URL_1
			+ "TransportationWeb/common/jianchaAction_baoDian.action";
}
